package cn.kgc.springcloud.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: mosin
 * @version: v1.0  2022/6/16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL) //生成json格式数据时 不包含时null的属性
public class Clazz {

    private  Integer id;
    private  String name;
    private  String path;
    @JsonIgnore
    private  Integer tagId;

    private  Tag  tag;

}
